import request from '@/utils/request';

// 分页查询-执行中的任务
export function getRunningTaskList(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/jimu/reportTaskInfo/getRunningTaskList',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'LSH',
		},
	});
}

// 分页查询日志信息-任务执行明细
export function getTaskLogList(data: anyObj): ApiPromise<ApiResponse> {
	return request({
		url: '/jimu/reportTaskInfo/getTaskLogList',
		method: 'post',
		data: data,
		headers: {
			VERSION: 'LSH',
		},
	});
}
